package com.gwcm.model.dto.product;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
@Data
@ApiModel(description = "商品修改请求参数")
public class ProductUpdateRequest {
    private Long id;
    @ApiModelProperty("分类Id")
    private Long categoryId;
    @ApiModelProperty("商品名")
    private String name;
    @ApiModelProperty("商品描述")
    private String description;
    @ApiModelProperty("价格")
    private BigDecimal price;
    @ApiModelProperty("折扣价格")
    private BigDecimal priceDiscount;
    @ApiModelProperty("商品成本")
    private BigDecimal cost;
    @ApiModelProperty("库存")
    private Integer stock;
    @ApiModelProperty("库存警戒线")
    private Integer stockCordon;
    @ApiModelProperty("颜色")
    private String color;
    @ApiModelProperty("尺码")
    private String size;
    @ApiModelProperty("商品图片地址")
    private String imgUrl;
}
